@import 'constants';

.round {
  grid-template-areas: 'nvui' 'side' 'uchat';
  grid-template-columns: auto;
  grid-template-rows: auto;
}

.nvui {
  h2 {
    font-weight: bold;
    margin-top: 0.5em;
  }

  .moves {
    max-height: 140px;
    overflow-y: auto;
  }

  .board {
    font-family: monospace;
    font-size: 1.5em;
    margin: 0;
    line-height: 32px;
    border-collapse: collapse;
    text-align: center;
    td,
    th {
      width: 32px;
      border: 1px solid black;
      .black {
        background-color: black;
        color: white;
      }
      .white {
        background-color: white;
        color: black;
      }
    }
  }

  .pieces h3 {
    font-weight: bold;
  }

  .pieces h3 {
    margin: 0 5px 0 0;
    display: inline;
  }

  .notify {
    color: $c-bad;
    font-weight: bold;
  }

  .#{$active-class} {
    font-weight: bold;
    color: $c-accent;
  }

  .content a {
    margin-right: 1em;
  }
}
